﻿using ML.Entity;
using System.Collections;
using System.Collections.Generic;

namespace ML.IRepository
{
    /// <summary>
    /// 商户结算仓储接口
    /// </summary>
    public interface ISettlementRepository : IBaseRepository<SettlementEntity>
    {
        Pager<SettlementResponse> List(SettlementSearch settlementSearch);

        IEnumerable<SettlementEntity> GetSettlementByMerchantId(string merchantId);

        bool UpdateSettlementStatuSucccess(string Id, SettlementEntity data, string Optioner);

        bool UpdateSettlementStatu(string Id, int SettlementStatu, string Remark, string Optioner);
    }
}